package com.hunau.novel_reading.mapper;

import com.hunau.novel_reading.entity.Books;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FavoritesMapper {
    public Integer insertFavoritesRecordByUserAndBookName(String username, String bookName);
    public List<Books> selectBooksByUsername(String username);
}
